﻿using Production.CommonLib.Models;
using Swimj.CommonLib.Base;

namespace Production.ApplicationLib.Queries
{
    public interface IProductionOrderQueries
    {
        Task<Result<ProductionOrderInfoResponseDto>?> GetProductionOrder(int id);
        
        Task<PaginatedResult<ProductionOrderInfoResponseDto>?> QueryProductionOrdersByPage(ProductionOrderSearchRequestDto model);

        Task<Result<IList<ProductionOrderInfoResponseDto>>?> QueryProductionOrders(ProductionOrderSearchRequestDto model);
    }
}